home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- DBTMPLT(FILES) DBTMPLT(FILES)
-
-
-
- NAME
- .../files/dbtmplt8 - database template
-
- DESCRIPTION
- This file contains the template for a database used by
- _c_r_e_a_t_d_b. It has a set of entries for each relation to be
- created in the database. The sets of entries are separated
- by a blank line. Two blank lines or an end of file ter-
- minate the file.
-
- The first line of the file is the database status and the
- default relation status, separated by a colon. The rest of
- the file describes relations. The first line of each group
- gives the relation name followed by an optional relation
- status, separated by a colon. The rest of the lines in each
- group are the attribute name and the type, separated by a
- tab character.
-
- All the status fields are given in octal, and have a syntax
- of a single number followed by a list of pairs of the form
- +__x+_N
- which says that if the +_ _x flag is asserted on the _c_r_e_a_t_d_b
- command line then set (clear) the bits specified by _N.
-
- The first set of entries must be for the relation catalog,
- and the second set must be for the attribute catalog.
-
- EXAMPLE
- 3-c-1+q+2:010023
- relation:-c-20
- relid c12
- relowner c2
- relspec i1
-
- attribute:-c-20
- attrelid c12
- attowner c2
- attname c12
-
- (other relation descriptors)
-
- SEE ALSO
- creatdb(unix)
-
-
-